


function CrossStartNotice(time)
	local time = tonumber(time)
	System.broadcastTipmsg(string.format(Lang.Activity.CrossActivity01, time), ttScreenCenter + ttChatWindow)
end

function CrossSwitchOpen()
	local sVar = System.getStaticVar()
	sVar.crossBoss = 1

	System.broadcastTipmsg(Lang.Activity.CrossActivity03, ttScreenCenter + ttChatWindow)
end

function CrossSwitchClose()
	local sVar = System.getStaticVar()
	sVar.crossBoss = nil

	System.broadcastTipmsg(Lang.Activity.CrossActivity04, ttScreenCenter + ttChatWindow)
end

function CrossEndNotice(time)
	local time = tonumber(time)
	System.broadcastTipmsg(string.format(Lang.Activity.CrossActivity02, time), ttScreenCenter + ttChatWindow)
end

function CrossStart()
	
end

function CrossEnd()
	local playerList = LuaHelp.getAllActorList()
	for _, player in ipairs(playerList or {}) do
		Actor.EndCross(player)
	end
end

